package types

type RegisterUserRequest struct {
	UserName string `form:"username"`
	Phone    string `form:"phone"`
}

type RegisterUserResponse struct {
	UserId  int64  `json:"user_id"`
	Message string `json:"message"`
}

type GetUserRequest struct {
	UserId int64 `form:"user_id"`
}

type GetUserResponse struct {
	// model.User
	User    string `json:"user"`
	Message string `json:"message"`
}

type RePhoneUserRequest struct {
	Phone  string `form:"phone"`
	UserId int64  `form:"user_id"`
}

type RePhoneUserResponse struct {
	Message string `json:"message"`
}
